package com.ruoyi.web.controller.class_choose.service;

import java.util.HashMap;
import java.util.List;
import com.ruoyi.web.controller.class_choose.domain.AChooseClass;

/**
 * class_chooseService接口
 *
 * @author G
 * @date 2025-04-28
 */
public interface IAChooseClassService
{
    /**
     * 查询class_choose
     *
     * @param userId class_choose主键
     * @return class_choose
     */
    public AChooseClass selectAChooseClassByUserId(Long userId);

    /**
     * 查询class_choose列表
     *
     * @param aChooseClass class_choose
     * @return class_choose集合
     */
    public List<AChooseClass> selectAChooseClassList(AChooseClass aChooseClass);

    /**
     * 新增class_choose
     *
     * @param aChooseClass class_choose
     * @return 结果
     */
    public int insertAChooseClass(AChooseClass aChooseClass);

    /**
     * 修改class_choose
     *
     * @param aChooseClass class_choose
     * @return 结果
     */
    public int updateAChooseClass(AChooseClass aChooseClass);

    /**
     * 批量删除class_choose
     *
     * @param userIds 需要删除的class_choose主键集合
     * @return 结果
     */
    public int deleteAChooseClassByUserIds(Long[] userIds);

    /**
     * 删除class_choose信息
     *
     * @param userId class_choose主键
     * @return 结果
     */
    public int deleteAChooseClassByUserId(Long userId);


//    --------------------------------------------------------------------------------------------------------
    /**
     * 查询个人课程列表
     *
     * @param
     * @return class_choose集合
     */
    List<HashMap<String, Object>> selectAChooseClassListS();

    int deleteFromClassId(Long id);
}
